package com.cfk.shopmail.seckill.scheduled;

/*
    @CreateTime 2022/1/12 22:04
    @CreateBy FengYaoWen
*/

import lombok.extern.slf4j.Slf4j;
import org.springframework.scheduling.annotation.Async;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

@EnableScheduling
@Component
@Slf4j
@EnableAsync
public class HelloSchedule {

    // @Async
    // @Scheduled(cron = "* * * * * ?")
    // public void hello() {
    //     log.info("hello..");
    // }
}
